﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YasharEl.Infrastructure.Core.Users;
using YasharEl.Infrastructure.EntityModel;

namespace YasharEl.Infrastructure.Core.Commenting
{
    public interface IComment : IGenericEntity<long>
    {
        long CommentId { get; set; }
        string Text { get; set; }

        CommentType CommentType
        {
            get;
            set;
        }

        ICommentable CommentedEntity { get; }

        DateTime CreatedDate { get; }
        IUser CreatedBy { get; }

        bool IsRead { get; set; }
    }
}
